package com.framework.buss.bridge.model;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.framework.core.mybatis.config.AutoField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 结构温度长期趋势图
 * @Author: jeecg-boot
 * @Date:   2023-05-18
 * @Version: V1.0
 */
@Data
@TableName("buss_image_data")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="buss_image_data对象", description="结构温度长期趋势图")
public class ImageData implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    @AutoField("varchar(32) default '' COMMENT '主键'")
    private String id;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    @AutoField("datetime COMMENT '更新日期'")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
	/**图片名称*/
	@ExcelProperty("图片名称")
    @ApiModelProperty(value = "图片名称")
    @AutoField("varchar(100) default '' COMMENT '图片名称'")
    private String imagePath;
	/**序号32*/
	@ExcelProperty("序号")
    @ApiModelProperty(value = "序号")
    @AutoField("bigint default '' COMMENT '序号'")
    private String sortNo;
	/**测点编号*/
	@ExcelProperty("测点编号")
    @ApiModelProperty(value = "测点编号")
    @AutoField("varchar(10) default '' COMMENT '测点编号'")
    private String code;
    /**类型*/
    @ExcelProperty("类型")
    @ApiModelProperty(value = "类型")
    @AutoField("varchar(10) default '' COMMENT '类型'")
    private String type;
	/**桥梁编号*/
	@ExcelProperty("桥梁编号")
    @ApiModelProperty(value = "桥梁编号")
    @AutoField("varchar(32) default '' COMMENT '桥梁编号'")
    private String bridgeId;
}
